package com.example.demo.service;

import com.example.demo.pojo.Emp;
import com.example.demo.pojo.EmpQueryParam;
import com.example.demo.pojo.PageResult;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

@Service
public interface EmpService {
    PageResult page(EmpQueryParam empQueryParam);
    void save(Emp emp) throws Exception;

    void deleteByIds(List<Integer> ids);


    void update(Emp emp);

    List<Emp> all();
}
